Skip to content

Conversation

@Will-ShaoHua
Copy link
Contributor

@Will-ShaoHua Will-ShaoHua commented Jun 27, 2024

Screen.Recording.2024-07-26.at.6.49.46.PM.mov
Screen.Recording.2024-07-26.at.6.50.10.PM.mov
Screen.Recording.2024-07-26.at.6.50.40.PM.mov

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Description

Checklist

  • My code follows the code style of this project
  • I have added tests to cover my changes
  • A short description of the change has been added to the CHANGELOG if the change is customer-facing in the IDE.
  • I have added metrics for my changes (if required)

License

I confirm that my contribution is made under the terms of the Apache 2.0 license.

return request.uri().trim('/').startsWith("oauth/callback")
}
// only handle the /oauth/callback endpoint
override fun isSupported(request: FullHttpRequest) = request.uri().trim('/').startsWith("oauth/callback")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably also want to restrict to HTTP GET

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gotcha

@Will-ShaoHua Will-ShaoHua marked this pull request as ready for review July 27, 2024 01:37
@Will-ShaoHua Will-ShaoHua requested a review from a team as a code owner July 27, 2024 01:37
@Will-ShaoHua Will-ShaoHua requested a review from rli July 27, 2024 01:37
}
// if (!oauthService().hasPendingRequest()) {
// return false
// }
Copy link
Contributor Author

@Will-ShaoHua Will-ShaoHua Jul 29, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

confirmed that tcp connection will indeed be closed if cancel button is clicked (Auth completableFuture will be closed)

Screen.Recording.2024-07-29.at.3.17.14.AM.mov

@Will-ShaoHua Will-ShaoHua changed the title try fix 404 not found page during PKCE flow fix 404 not found page with PKCE flow by closing previous netty channel Jul 29, 2024
@rli
Copy link
Contributor

rli commented Sep 27, 2024

Cleaner solution in #4924

@rli rli closed this Sep 27, 2024
@Will-ShaoHua Will-ShaoHua deleted the network branch September 27, 2024 00:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants